package com.zrrd.gmall.rabbit.constant;

/*
* Mq使用的常量
* */
public class MqConstant {

    //交换机
    public static final String EXCHANGE_DIRECT_GOODS = "exchange_direct_goods";
    //路由key
    public static final String ROUTING_GOODS_UPPER = "goods.upper";
    public static final String ROUTING_GOODS_LOWER = "goods.lower";
    //队列
    public static final String QUEUE_GOODS_UPPER = "queue.goods.upper";
    public static final String QUEUE_GOODS_LOWER = "queue.goods.lower";

    /*订单更新状态*/
    //交换机
    public static final String EXCHANGE_DIRECT_ORDER_CANCEL = "exchange.direct.order.cancel";
    //路由Key
    public static final String ROUTING_ORDER_CANCEL = "order.create";
    //队列
    public static final String QUEUE_ORDER_CANCEL  = "queue.order.cancel";
    //延迟时间
    public static final int DELAY_TIME  = 20;

}
